use wrap node asynch for db call
full testcase