test for rm