Added test of length strings to database