Fixes #746
Activate some unittests for fixed bugs
ad tests: prepare for more tests
automatic casadibot merge