Replace hard-coded sequence numbers in unit test with \d+ regex.
Return SETOF text instead of text[] array