UI testing: Mocking Ajax responses in PhantomJS
github.com