Write basic tests for task editing