Tests for the concetps surrounding Secret of the Javascript Ninja (Resig)