Hash assertions: assert required keys, assert keys with values