Fix to allow headers to be set in db_tests

Fixed the tests plugin to use the headers defined in db_tests instead of calling nfetch with "" for headers. Still need support for multiple headers.

Not sure why the automated merge is rejected, my git foo is failing me. Should be easy enough to apply the diff manually tho :(