test: extract stub worker into helper/