added test case for 100% coverage