add connection handler test