Adds spec for custom logger

Proves issue #353