Added rake tasks for tests and docs