Testing snap.js