Added scaladoc to transformToOutcome method in TestRegistration.scala.