add logger and worker tests