Email and Session controller tests