added a docstring context to MeasurementPyScript and associated tests. access context from within script using mx