add functional spec for arg passing

fix CreateCommand so func spec runs
tweak PlainFormatter to print stacktraces