Added test for emitting data.