https://github.com/igraph/rigraph/blob/d2095f33038449ee4a93eef13152c018aa408d52/tests/testthat/test-attributes.R#L256 and the two similar ones right after it.