Add error-handling tests for distribution plotting code