Improve specs for Logger