non-interactive help had an undeclared variable

so I added a few cases of non-interactive help to the unit test