add test for static with events field