TDD and SQL