NUM-115: Pulled out queue configuration code from DefaultDriver and added a test