add Realtime Register and corresponding tests