Bug 845366 - Need unit tests for operator-variant logic. r=kaze