Improving Casper test error reporting