How to test policies by using test E-mail files