improve scope test in event model spec