unit tests for code coverage