add unit tests to increase code coverage