Added test for ActiveRecord 3.2