directories
adds test for empty