Tests for atNest, scan and seeNest