Added test to cmake.