fix unit tests in eclipse