Add tests for invalid and unknown commands