add infrastructure to test multiple optimization levels in test_outline