Move onion failure tests from functional_tests to their own file