New terrain testing function