You can check an egr valve with a vacuum pump. Or just hook it up to manifold vacuum. If it kills the engine or at least makes it run rough, its working. Putting a bb in the vacuum line to the egr won't help you cure a leaking egr(unless its the modulator that is beeding vacuum). If its leaking that means the pintle valve is not seating, probably due to carbon buildup.