tests: add tests for GenericRoot
#4276
+42
−18
Merged
GenericRoot
#4276