Improve realtime view, add missing tests