Add a functional test for creating new tasks