fix mis-spellings & undeclared variables
extra setting test - hookt pu
Merge pull request #2285 from eileenmcnaughton/extra-test

Extra test, a couple of tidy-ups