added test for create task