rm diagram test