use ctest to test