Generator voltage regulator testing