added heartbleed_test function