test for schema generation wrt NULL / NOT NULL