Add rake task to prepare the tests.

Add more tests.