Better implemented equals comparision and hashCode for ConcurrentArrayList (and added some tests for them)