AppCode: initial folding tests + tests for OC-8400 fix + correctly merge @import and #import in one block
(cherry picked from commit 7b4ed133add3c2e5461e4b0914867285673528b7)