test in/output