starting work on a cppunit based unit test framework, relating to issue #11, #12 and #13
Context constructor caused seg fault when passed NULL as the env parameter