Trolls flooded Twitter with slurs to test Musk, safety chief says