extenstion for unittest.TestCase to support multiple inputs

See http://stackoverflow.com/a/4455312/987180