Fixing test coverage percentage error