Updated test to use worker