Added directory tests