Unit test updated to support `substitute_at` in Arel

Refer https://github.com/rails/arel/commit/590c784a30b13153667f8db7915998d7731e24e5
Merge pull request #522 from yahonda/rails42_substitute_at_2

Rails 4.2 Unit test updated to support `substitute_at` in Arel