It just works fine for me, even in A7. I just opened SED, created an empty file, copied your code and it worked.