Added thread safety test for Lines.wrap(...)