Updated tests
Changed some tests.
Removed warning when using MBean. Fixes #31