Unit test and bugfixes

* expressions (operators, default operator)
* external wiidget