Split out the tests in test_trampolines.cpp.