fix broken tests for extractNestTo method