Add a test for metadataRoute