added test for task json