Reimplement old Commands unit tests in order to insure behavior
Merge pull request #1277 from dotcloud/add_commands_unit_tests

* Tests: Reimplement old Commands unit tests in order to insure behavior