[test] move emits to shared