Tests for ol.expression.register()