Test the name of the directory and dap itself