Fixed up exception reporting, fixed so tests actually use connection strings.