Rewrite 3 very similar run-make alloc tests to rmake
#125024
Merged
run-make alloc tests to rmake
#125024