diff --git a/tests/ref.py b/tests/ref.py
index <HASH>..<HASH> 100644
--- a/tests/ref.py
+++ b/tests/ref.py
@@ -44,12 +44,15 @@ def backend_check(backend, ref=None, childprocess=True):
                         ref='scrot'
                 else:
                         ref='pil'
-        if sys.platform != 'darwin':
-
-            backend_ref(backend,
-                    ref=ref, 
-                    childprocess=childprocess,
-                    )
-        backend_size(backend, 
-                childprocess=childprocess,
-                )
+        enable_ref=True
+        if sys.platform == 'darwin':        
+                enable_ref=False # TODO                
+        if enable_ref:
+                backend_ref(backend,
+                        ref=ref, 
+                        childprocess=childprocess,
+                        )
+        else:
+                backend_size(backend, 
+                        childprocess=childprocess,
+                        )
test: ref or size test, not both