implemented missing tests for 100% coverage