how to write junit test cases​