Fix rake test

Made `rake test` depend on `generate` and the default task invokes only
test now. A little convenience for people who're not used to set `test` as
the default task and would otherwise see an error.