getTransientDataSource helper + embedsMany/polymorphic test case fix