config: Make tests discoverable and fix broken ones