And also would be nice to have a test that if the types and not compatible it fails as before e.g Patient and Encounter