scripts: selftest: add opening book for tests
implement --syslog