Test the actual response status code.
Remove an annoying `puts` line.