Fix dangerous test that can cause tests to give false success

The test select_error_emits_if_no_callback added an error handler to the
client that calls the next test.  It does not cleanup this error handler
causing any subsequent tests to pass. This is pretty dangerous behavior.