removed superfluous emit from tests