add headless browser testing