Refactor DoubleClickOpensViewOnceTest.