Add a test case for the Map.Entry case