Added shared.js for use in driving tests