Add some unit tests

* exclude bin into phpunit.xml.dist 
* change command name 
* add unit tests for command