This are weird rewrites, can we do something like `expect(body).to have_key(:state)`?