Fixing the test to accomodate the hash functionality