setup garbage worker in safe connection to mongodb for unit testing