Testing stuff for trustmanager