Test preparation before including error API