t5551: move setup code inside test_expect blocks