added simplecov gem to check test coverage, refactored to 100% test covecoverage