Tests Java's list's operation speeds