Trying out some more Casper.js and mocking the database