Tweak test case and some error handling.  insertFiles still fails.