add self-referential array tests