prevent tests running in browser (need node API)