import couch_tests.js in custom_test.html so that CouchDB.protocol is defined. Is there a tidier fix?