Test Framework and some tests.