Rails test from Agile Web Development book.