Update security events unit tests