fix test case

* supported scala 2.9.x