Added tests for emit system