[benchmarks/io] Got trap test cases working