Fixing inaccurate max values test