Allow testem port to be specified.

Fixes #720.