Better test interrupts, writing aggregator strings into file
Fix problem with exit code