to not only have keys should expect the given keys to be present

`to not only have keys` means that it is not only the given keys that are
present on the object.