Commands from works when namespaced

A test for #201 and a more general fix.  Not sure if this is what I want to do
@luxflux this reveals the bug you've fixed in #201, as well as a *lot* more bugs.