Some scalatest to work the details out