Tweaked documentation. Added two code samples for ScalaTest.