Remove troublesome and useless catch_cookie_exception test

The test doesn't do anything, and it includes test/unit where it doesn't
belong.