consider slice value from postgres as a string
fix test