Fix loading fixtures in engine tests

`fixture_path` is a class attribute of ActiveSupport::TestCase, so `ActiveSupport::TestCase.method_defined?(:fixture_path=)` would always return false.

This should fix #4971