Fix CasperJS code cell test for Python 3

The `print` statement doesn't work in Python 3.