test interaction of w, j, and fsync options

test for getLastErrorDefaults interaction