Add directory tests
Add some validations to directory name