invalid cmd test
added another error test