Task factory created to match requirements
tests include in task_spec.rb file. No test implemented yet