Test directory bash