Fix the minor issue in TestRMAppManager