How to test a bipolar transistor