main.js ( injected script with test settings )