configured phpunit, added some tests, added exception when trying to set unsupported mail headers