Get hold of a resistance/continuity tester (eg a cheap multimeter). if you don't have one then one of your mates will.
Make sure the two connections to the bulb exist (one to the case of the lamp then to the frame connection, the other to the wire connection).
Put the bulb in and check that, using the meter, you can measure its resistance between the lamp casing and the live wire.
If that's OK, you know the dynamo works, the only thing left is the connections to the lamp from the dynamo.
Check them with the multimeter again.
You may find that there is either no connection between the frame and forks, or a poor one, and I'm not sure about the electrical properties of carbon forks.
If there's any doubt run a wire from the case of the front lamp (find a suitable screw, or if none drill it and put a nut, bolt, and shakeproof washer in!) to either the case of the dynamo or a convenient point on the frame (bottle mount for example).
Recheck with the multimeter.
If there's electrical continuity, the bulb's OK, and the dynamo's working it should light up dimly even at very slow wheel speeds.