tests + adding a custom logger