added some command test code