Rihanna ordered to testify against Chris Brown