Fixing the category test - results are different between the php-versions