Add fail and pass test for ex9