Thanks Andrew for the review!
I initially preferred not modifying any existing code (hence added a new method with much dup code). But it's actually hard that way, because create EZ goes through multiple levels, including namesystem, directory. Version 0 patch didn't persist the XAttr to edit logs.
So the new patch added a test-only flag instead.
Please let me know if you see any additional tests we should add.