added test for bad arguments