added test for isFile widget