Here's the latest version
I've changed things around a bit, so that it now saves the data to be
tested in the action method of the controller.
Still works when run directly with ruby, and it still fails when run with rake.
Running under rake, the action method in the controller doesn't seem
to be invoked. Still trying to figure out why.