added full UT for SensorACaptureProcessor + some trivial refactoring