Added methods to the test to reduce code duplication
Test editing in task lists