Fixed testing of dirt.