Test for headlessJS