Add tests for code coverage