update test worker code