Testing rails 4