test: move shared module to test/common
#54042
+42
−20
Merged
test/common
#54042