Tests to verify that passing in a logger works as expected