HH-37909 add test for debug page, complete logging on finish, use assertIn