Add basic worker and its tests