We test that "$ref" overrides an assertion, but not that it causes non-assertion keywords to be ignored. Should we test that?