fix tests and fix request worker