fix tests (add docopt to requirements)