bot_config and test fixes