Raw database test