Adding unit test framework and some initial tests.