Added SpiteSheet support and test in test.js