Add test for AR::CounterCache.update_counters
Refactor AR's counter_cache_test.rb test