Remove documentation directory before calling rdoc
Make test depend on quanty