Added test for an empty hash