NF: concat data function and tests