added checksetdir tests