Nearly 100% code coverage on tests