adjust email test for empty