Change the error message.
Restructure testcases so they are easier to read.
Imrove comments, clean intercept counter in logging package at the same
place we reset the intercepted array.