Added tests to EmitterTests that sets requirements on document start