opendir test