Make compressNodes property an instance variable,Add test for compressNodes property,