CMakeLibTests: include `testCommon.h` for `ASSERT_TRUE`

And remove duplicate definitions.
5 files changed