Test codes for RT model emulation