tests-extra: Changed server creation in events tests.