added test for isDir widget