Fixing ServiceLoaderTest, avoiding PHPError because 'type' wasn't set.