add test summary when exiting, closes #10