Correct typo for t5 and reactivate t2

Change test 2 from deleting the custom variable to setting it again.
Also add a missing parameter to test 5.