Pre-allocate list with fixed length. Add test case for join() using string key.