The first me is just a sanity check to see if the require returned the me object. The second anon check is the one I'm after. If the require is consistently returning `null` then something else is wrong that needs to be corrected. It should be a synchronous operation (returning the me data) but if it isn't that might be a bug in CasperJS/PhantomJS. You mentioned that most of the tests are now succeeding, is there any specific test where this infinite loop is always (or intermittently) occurring?