added test for isEndsWith widget