grab database results and test against them