Updated do_test.cmake to new requirements