diff --git a/Makefile b/Makefile
index 418b37be861191bc2ac51a81767ec3f85010bf94..d01c8c3e77327ac19d782dece35b179e48d10eb4 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,8 @@ clean:
 	$(call quiet, rm -rf build/$(mode), CLEAN)
 	$(call only-if, $(mgmt), $(call quiet, cd mgmt && ./gradlew --daemon clean >> /dev/null, GRADLE CLEAN))
 
+check: export image ?= tests
+
 check: all
 	./scripts/test.py
 
diff --git a/images/default.py b/images/default.py
index e6a36e7db22ccec875eaa5d527a02227509afe1b..5cea99ef40bab6dbc26baaec9dcb7419d912611a 100644
--- a/images/default.py
+++ b/images/default.py
@@ -2,4 +2,3 @@ from osv.modules.api import *
 
 _mgmt = require('mgmt')
 run = [ _mgmt.full ]
-require('tests')