test logging
expect 1 is default