test output for rm