Fix unit test that fails on other machines.
Allow for using eclipse as well as idea.