Added possibility of run headless tests