expose mailjob, rearrange tests
0.1.1