Adds rake tasks for unit and integration tests.