generating random strings in map testing