1. A method comprising: providing a framework that includes: a user-space component that runs at a client site; and a kernel-space component that runs at a remote site; identifying, via the user-space component, one or more attributes of one or more objects that reside at the remote site and whose addresses at the remote site are unknown at the client site; generating, via the user-space component, a script to test at least one function of a kernel running on the remote site based at least in part on the attributes of the objects; and performing a remote unit testing of the function of the kernel by executing, via the user-space component, the script such that the user-space component: generates a message that identifies the attributes of the objects; and sends the message to the kernel-space component that runs at the remote site to enable the kernel-space component to: obtain one or more references to the objects by way of the attributes of the objects; and invoke the function of the kernel by way of the references to the objects.