For testing casperjs