introduced cxxtest framework and fixed several SConscripts