add database test and production