Renewed unittest for CreteTask() method