Added many conditional printouts in unit tests. Those printouts are controlled by #defines in a central file.