fixed doc test, add travis