Update tests to fail only for error in browser console