test insert with DB_MASTER handle