Helper method to register an application master using specified testAppId
   * as the application identifier and return the response
Helper method to register an application master using specified testAppId
   * as the application identifier and return the response | BaseAMRMProxyTest.java