The Jakarta Mail TCK test suite
Other tests