Tests are now done on debug build, not release.

This is because in the debug build assertions are checked.