Fix tests so that they run without installing the .so

Signed-off-by: John Else <john.else@citrix.com>