In createEmptyEdxDbs.sql: added 'IF NOT EXISTS' to the new edxprod table defs. Also added creation of db unittest.