created unit tests for javascript login with persona. Unit tests are passing