Update existing unit tests to use the new method to add tasks.