Add testrunner to fetch.js (untested)