test convertTaskToMap
test convertMapToTask
move to test package