use six.moves.input instead of raw_input in the example
use testtools in travis instead of trial, to work on py3