That's one of those weird loopholes that immigration would probably look away from. IELTS writing would technically not be allowed under E-2 rules, but since it is done at hagwons for the most part and not taught in formal schools as a "national" curriculum (IGCSE, IB, AP etc)...immigration won't really come after someone for that.