added test::wait and increased expect timeout for test::apply_config