fix issue with test, checking for the presence of Mbeans before the rmi transport for the mbean server is fully active