Added global plugins and beforeEach
Added error managment