refactor create table test case.