A simple go func mock tool with output test pattern