refomatted mail tests to use data provider
removed unecessary requiresin unit tests
moved _testing to _test