add custom sout to the test case