The current master branch of CasperJS is version 1.1 (beta 3). (Note: This is also the "recommended" version according to the CasperJS web site.) The tests in this PR are incompatible with version 1.1 and only work with version 1.0. We could either change this to ensure an appropriate CasperJS version or update the tests.