increased unit test coverage to 95%