You've obviously never written any C++. The point of templates is precisely the fact that they make debugging easier, by replacing runtime assertions and bugs with cryptic compile-time error messages.
Figuring out a compiler error is significantly easier than having to debug a malfunctioning test.