Added debug tests