added tests to cmake build