fix books test + add console log when using -s param