testing reordering of instructions