Add tests for om-tools.dom/element

Test the processing of opts