HelloCustomerand Thank you for choosing Just Answer.
Ok, Well I did some searching around and found a second test that was hidden at the time that you can do. You may only have a bad headlamp switch.
Below I have the test for you:
Do not click on the blue letters as they will not allow you to acess that material.
To remove the headlamp switch, There should be 2 slots on the sides of the switch, You just need a flat screwdriver to remove the switch.
If you need any further help, Please let me know.