added numerous unit-tests and a central test-suite.