added tests for structurization