added save token and save email to test methods