Added export for or2=.
Added tests for misc.