Move function for testing commands