Adding tests for bad requests.