Test for empty hash