Test that only proper commands are accepted