and add some ctest to it