test case for testing commands