fix extended module test

interleaved try / finally blocks do not work for restoring parser state
as an explict return from an innner try / finally block only causes the
outermost finally clause to run.  Need to think about how to get around
this limitation.