added tests for offset tracking in print wrappers