Metadata resolver unit test