Fix testListener sample.

It was broken for a long time due to rename of property in Test (0.9)
and build classpath change (2.0).