Add test connection in cli mode