use full path for import in doctest so that it will hopefully work in travis-ci