added the test package to testng and added the javax.mail dependency to parent pom