Added basic unit test machinery