Changed CLI to return number of failed.
Added functions into anonymous namespace.
Added std qualifier to string.
Removed define for default file name.
No need for static functions.
Added missing std and removed unnecessary comments.
Corrected unit test usage in CMake.