New unit test framework and first batch of tests