All that will tell you is that it is wired properly if you read battery voltage at the generator output lead. If the battery is being discharged when it is not running by current back flowing through the alternator then you need to fix the alternator and not treat the symptom by putting a relay in the circuit.