Fix issue caused by changing cmake dependencies for the wrong test.