Code Example for the Testing Your SPA session held on Tarabica 2014