Testing the do sub-command

test_do.test_to_do(sort: str, expected: str, tmp_file: helpers.filer.Filer, capsys)

Check that tasks are appropriately added and sorted

Parametrized to check various calls to the –sort flag