Fixed test for issue 5400