Added test case to give better code coverage