added a basic unit-test framework with example kmap() test