Wire up tests to cmake