coverage fixes for tests.