refactoring junit tests to evaluation test cases