Add Exceptions
Remove useless code
Fix tests autoload
Clean the tests