make test for rails 3.0 less strict.