WebTest 2.0 compatibility. Fix #4.