tests: workaround for making it run in dev-env; silence jslint; improved comments