Fixed test receive loop in UI