MySQL search using tools from TDD by Percival