Improved infrastructure for running tests and plotting results