adding unit test cases