Refactor zoom_test.go