Fix error in capwiz_connect test