Migrating CommandsSpec from jasmine to mocha

Hello again,

I forgot to migrate this spec :(
I have made some changes on the tests so, please, take a look and tell me if it's good to merge.

Thanks!