Updating tests for Scala 2.10.x compatibility.