adds unit-tests.