before test print