Fix broken spec

Fixes an existing spec to account for new assert_required_keys code