Testdata enable events and episodes reference look up in testdata mode
Removed unused checkRelation method
Extra assertions added in OEMigrationTest