Planning test cases before implementing