Tests & fixes.