Added test for invalid command type
Added invalid and valid input tests