removed first_error and added _isThumbExists and more tests