headlessJS testing