fix ctest rules