Optimize test and node export.