Added junit test case