Fix JMX travis tests