more work on coverage
added tests