Extract specified row envelope, with unit test