tests for logf
tests for logf