ticket:1: added unit test cases