Make the tests CTest friendly and add CDash integration