fixed bug running test in eclipse