Updated nexus tree writer tests