add tomate submodule
add unittests
Merge branch 'feature/add-unittest' into develop