Improvements to a few tests and test SMF manifest. Minor improvements to
command authorization.