fix adding task to an empty test