diff --git a/package.json b/package.json
index ae6557c7fe27d12af92d99172651dc544855a027..85f0ee223b337e90492d7b32c863282ca87554b3 100644
--- a/package.json
+++ b/package.json
@@ -90,6 +90,7 @@
     "jquery": "^3.6.0",
     "leaflet": "^1.7.1",
     "leaflet-draw": "^1.0.4",
+    "mocha-jsdom": "^2.0.0",
     "proj4leaflet": "^1.0.2",
     "react": "^17.0.2",
     "react-dom": "^17.0.2",
diff --git a/test/AstroMathTest.js b/test/AstroMathTest.js
index a0d38b99f6838a07f4df2c3134976dbf0c83f7bb..01666cbf0d132067e995e8b9a15b8b9e65150806 100644
--- a/test/AstroMathTest.js
+++ b/test/AstroMathTest.js
@@ -63,10 +63,10 @@ describe('Testing AstroMath Functions', function() {
     })
 
     // testing lonTo360 function
-    it('Testing lonTo360 Cylindrical: 0 should be 180 ', function() {
+    it('Testing lonTo360 Cylindrical: 0 should be 0 ', function() {
       // add an assertion
       let majorRadius = testMath.lonTo360(0, "EPSG:4326");
-      expect(majorRadius).to.equal(180);
+      expect(majorRadius).to.equal(0);
     })
 
     // testing lonTo360 function
@@ -86,7 +86,7 @@ describe('Testing AstroMath Functions', function() {
     // testing domainToPositiveWest function
     it('Testing domainToPositiveWest Not Normal Range: 0 should be 360 ', function() {
       // add an assertion
-      let majorRadius = testMath.domainToPositiveWest(-180, false);
+      let majorRadius = testMath.domainToPositiveWest(-180, true);
       expect(majorRadius).to.equal(180);
     })