add tests to show that findById for discriminators work