Fixed null pointer exceptions with test list view