fix vignette
fix test suite error due to the changes of testthat package. #133