Started to write a casperjs integration test.