Add test for array/tree. Segfaults :(