Skip the logger middleware for testing environment

I consider the logs very annoying when the only thing you really want to see is your green tests passing.