fix lib location in tests
tests cleaned up and fixed
save a working version
save another working version
save a version with a working badging system.
save a working version before deleting debugging code
change DEBUG to int
cleaned up according to 120 chars