write rmc test