Adding Registration testing using jasmine