Added rename test for priority to cli