Setup tests to run on rails 3