This adds cmake configuration of the tests as well