Fixed broken tests when built with JDK 8.
Merge branch 'java-8' of https://github.com/cheeseng/scalatest