Copy a dirutil unittest from commons.