[AnalogSensors] Fixed a bug in AnalogSensor class

- redefined methods as virtual in order to be able to override them
properly
[AnalogSensors] Fixed a potential bug in AnalogSensors read method

- modified test to consider that analog sensor number starts at 1
- also fixed a parameter name