Fixes inadvertent event attribute error in common invalid tests