Test GUI and AI connection