added stdout handler test