added tests for keeping complex writers non-XS