Fix CommandHelper#getRawCommand() misbehaving with sub-commands (Fixes #9), Add corresponding test to prevent this from happening again