Added unit test for the hasMeta method to ensure a boolean is returned