Tests as unit-tests