Update test.html for commit ff145a86
Revert commented-out code back to what generates test.html

(I'd temporarily put in something to use Bootstrap CSS to make the
generated HTML more-attractive for interactive development.)
Fix match pattern bug in resolve-refs.

Also add regression test for it.