Fixing casper test