lb retry configs taken from config.json - per @wirehead

Also, refactored tests based on suggestions from @cyli