GetEmitOutput function and testfiles

4 spaces