Court orders stop on virginity tests that sparked outrage