Simplify test case create schema logic.