Ported ExampleControllerSpec to ScalaTest.