add database command tests