mock_nodetool is a Perl version of the mock object