add first database test, still a bit clumsy