tweaks to debug utils
added generator for a new test
more coding and stuff