finish director_exists method and tests