Fix exception error in DB global function, create placehold for test DB insertion method