Added rake task to tests