RMItest code added