Add tests to CommandsTestCase