modify test to handle autofill of --reason