Warm up cache to prevent assertion failure.
Merge pull request #16093 from zuhao/refactor_activerecord_nested_through_associations_test

Warm up cache to prevent assertion failure.
Include fixtures to prevent foreign key violation.
Merge pull request #16094 from zuhao/refactor_activerecord_belongs_to_associations_test

Include fixtures to prevent foreign key violation.