test for virtual directory