Fix comments in captains.lua; improve tests

Add a more usable way for calling commands on a plugin . However, I'm
reconsidering testing the TGNSCommonXYZ, and instead merely create
whatever functions I expect to be called (or make a TGNS spoof) during
tests, to have complete control over what state the extension sees.