Adds tests with ctest