add mbean test code