Remove obsolete old manual tests
Fix code for catalog
Remove old references for tests
Improve programmatic form filling and add save copy example code.
Add example that writes out locked files.