Add a CMake macro for easily adding new tests.
change. This will hopefully also be tracked by the dashboard.