Migrate event test to spec