changed how listing works in tests