dogtail tests: Fix effects tests
dogtail tests: Rename variable to clarify what it represents
dogtail tests: Reuse center method