fix rewriting of testdata code