added printf for test in subprocess