fixed test/controllers/applications.controller_test.rb to test with valid data