removed unnecessary emit test