testing a bad input case