remove useless headless
fix some logs and exception
add test dependency + format tools module list
move MainRunner on test package