Incorporate expanded casper.then example.