Testing for three commands