Added E2E tests for serving JS file through server, proxy & snippet