Email test fix