Added realtime api test