added test cases to increase unit test coverage