[MAINT] Rename CMake macro for testing.

Macro `do_unit_test` is renamed as `do_test`.