Added line detection method in SensorMotorUser. Modified corresponding
test.