Some unit tests fixed for 64 bit, Insert now works similarly for code and for cell attributes