add test for skipping exception logging, and fix typo and cs