fix registering test mbeans