Added support for CTest; all tests can be run invoking the test target