generic tests for metadata passed
moved generic API tests to the REST module