Test generation of *.em files