Update Sprite.js and tests