Rewriting the package line test