Adds a little test for emission errors