1) we successfully use this approach dozens times across OpenCV
2) `TEST_P()` macro defines a new class derived from the specified one, so there are no conflicts.