test cap integration