Check if the reactor is clean after shutting down everything.
Assert that the reactor is clean after each test execution.
Merge pull request #844 from whirm/fix_remotesearch_test

Check for dirty reactors