added Term unit tests

* changed expected Term implicit val from ActorContext to ActorRefFactory, to more
  easily facilitate unit testing