added test case to make code coverage 100%