Completely remove potential global state leaks in ActiveModel tests.

ActiveModel tests can now be run in random order.
Merge pull request #14342 from zuhao/eliminate_global_state_leak_in_activemodel_tests

Eliminate global state leaks completely in ActiveModel tests