Added invalid input test