added two new simple tests. fixed some debug output. added VERBOSE_OUTPUT #define, currently zero but can be set to 1 to make it print out lots of stuff