[tor-commits] [tor/master] relay: Refactor tests, and add extra options tests