Listview test: Added test case for issue #5198