added test for db call
[#28]
not sure why this query doesn't work
[#28]