Fix Graph#addAll and add tests