RMTest: Move core stuff to Infra/ dir