creating and testing commands