fix mistake
write debug log
tests: write to consumer with producers