Fixed failing unit test - assertEquals(double expected, double actual) is now depreciated, using new assertEquals(double expected, double actual, double epsilon) instead. Not sure why this made the unit test fail.