Change test to set virtual_root by new way