Refactored emitter test template code
Refactored emitter test template code

jfrabaute/yaml-cpp,argiopetech/yaml-cpp,egocarib/yaml-cpp,largerussiangames/yaml-cpp,egocarib/yaml-cpp,jfrabaute/yaml-cpp,largerussiangames/yaml-cpp-0.5,egocarib/yaml-cpp,jfrabaute/yaml-cpp,argiopetech/yaml-cpp,largerussiangames/yaml-cpp,largerussiangames/yaml-cpp,argiopetech/yaml-cpp,largerussiangames/yaml-cpp-0.5,largerussiangames/yaml-cpp-0.5