Fix test failure in get focus properties test

Somehow this didn't get picked up by TravisCI, or I missed it.