cleanup throw tests, add case for bad input