Fix #79: add scan_from_param and test case

`scan_from_param` is the specialized function, the name is still up for debate but at least we have something. This addresses issue #79.