Made unit tests work in eclipse.