fixed coverage
added test setup