Add tests for invalid commands.
Merge pull request #34 from verbitan/JUnitTests

Add tests for invalid commands.