Authorities said it was a "test" to limit misinformation, while critics called it a violation of human rights.