unit tests for the new routes retrieving only metadata