Adding test for middleware logging and removing semicolons