moved log from tests to examples since it just shows different usages