Tests Java list's operation speeds