fix test that was not running because of missing PHP version JSON_PRETTY_PRINT condition