TST: add error handling in process_testplots

Addresses #75