[tests] command tests
[manager] fixed command manager + added tests