- rescue and log exceptions from monitor's test_command()

- clean up test suite
- fix failing case for jruby