fix err in config and add timeout for mochatests