Scala 2.11. Fix tests. Metrics 3.x. -> v0.9.0.