Improved queueworker test.
added logging.