moved junit test cases