src: Return latest error in sim-mnclength driver
unit: Add tests for mnclength plugin
build: Add tests for mnclength plugin