cleaned up render / normalize and added tests
beginning to work on per-function summary