added test for sort widget