Test for managedsave command in a loop.