I'm going to test my friend
What are you going to test your friend on?
Whether or not she'd come help me if I get into trouble.
Friendships shouldn't be tested with false situations. If you do not trust your friend to be supportive of you in your time of need, you might need to examine why you feel that way. If you have persistent anxious thoughts of abandonment, you should talk with a therapist to help resolve those thoughts.
It is too hard for me to trust people if I do not test them first.
Your friends will feel tricked if you test them. It is better to work on your own trust issues than to test others in your life.