Queue test cleanups

Escape regexes
Use logger correctly