Fixing tests to use a better percentage test