Do not run tests twice when DEBUG is set to true