Add logging of test events