add 307 support to lockstep, example callback and update test scripts