improved executable test to capture some stderr output