Adds spec to test custom logger