added enum tests and changed to pass tests for SqlObjectApi