Add test case for createSchema