Fixing docs links in package test function