Permanence seems to be working now, some tests produce errors, no failures