Fix test issue related to order of attributes in xml element
Fix context name in mbean (prepend 'hostname/' to name