Add tests for sso.js