FIX: minor bug in test1 for resample node