Remove test code in worker