test coverage for private functions