San Francisco transit tests earthquake alert system