Added some tests and partially implement addCommand
Merge pull request #2 from mikelimantara/working

Added some tests and partially implement addCommand