Fixed a bug in Soil Test