Fixes autoloader issue (Class 'Swift_Mailer' not found in..)

Currently the autoloader fails when unit test are executed with the following conditions:
- Isolated processes
- Preserve global state

This is because in the subprocess the constant is preserved, but the autoload register will clean. So the autoloader would not be added to any subprocess.