minor edits to lenght comparison test