Add signup success test, refactor flash