Added tests for CreateTable.
Implemented approach for error handling testing.