added integration test. Following RailsCast Tutorial.