Remove cached_attributes tests

Fix deprecation warning: “Calling `cached_attributes` is no longer
necessary. All attributes are cached.”
Set default test sort order to random

* Fix ActiveSupport::TestCase warnings