Convert to mockito most non ignored tests
Change Assert to static import to uniformize every tests
Remove deprecate warning and some unused variable
Added serialVersionUID on Exception