replaced vector return to db:test-rec return in two function calls