Fix unrooted tests issue