added 100% test coverage for current code