use casperJS for integration testing