With both configurations, connect the earthed side of the battery to the dynamo case.
The dynamo should turn in the same direction that it would turn when being driven by the engine. If it motors successfully, test to see if the dynamo generates. To do this, remove the two wires from the battery and connect them to a dc voltmeter. Leave all other connections unchanged. Now spin the dynamo to see if there is an output. This could be done by reconnecting the drive and starting the engine. Alternatively, if the dynamo is off the vehicle and firmly clamped in the vice, use an electric drill. Make sure that the dynamo is rotated in the correct direction - you may need a reversing drill if it is an anticlockwise dynamo. The drill can be connected to the dynamo using a short length of rubber hose and some jubilee clips. This will provide a flexible joint which allows for any mis-alignment. If the meter shows no output then it's time to strip the dynamo down to find out why. We can help with that!