fix ctest