cmake macro to add a new test