Added appraisal to test under rails 3.1 and 3.2