In-situ soil testing