Register a new test case.
No memory management is done: test_case needs to exist for the whole lifetime of TestRegistry.