improved om support by adding an om emitter so wrapped elements can be supported
added tests for the om emitter