add tests for bad args