Add a test suite for commands

The officially supported commands from ADMIN to ISON are now tested
using the examples in the spec. This calls for a few changes in some
functions.
Correct failing tests

A few simple syntax misunderstandings were caught by the tests.
Merge pull request #19 from emiln/feature/commands/test-official-commands

Test officially supported commands