Changed test to use ``prefix_structures`` as a method again