fix for bug #1021 -- check for cxxtest

If cxxtest is not installed, then do not run the unit tests.