Add unit-tests for package_request_new