New mock object as the normal mock object code couldn't deal with counting methods that had been invoked