[Realtime] Fix all the tests in test_shake_event.