Creating test file for rails 4.1