B-49476 Fixed tests to work with quality as a double
B-49476 Fixed the fix so that tests work with quality as a double