unit test for code coverage