simplify ActiveSupport.test_order definition

Based on feedback from https://github.com/rails/rails/pull/18077/files#r22069210