test patterns for spliting strings