Testing code reuse from controller in rake task.