Add test framework.
Merge pull request #3 from xethorn/mo-14-dec-add-tests

Add test framework.