improved and restored worker event tests