Tests: Fixed syntax for use with ActiveRecord 3.0