tests for commands module