added tests for 100% test coverage