Add test for raw events