migrate singel_event test to spec