Allow tests to run in debug mode (#614)