BearCollectorTest: Remove unneeded variable