added minimal database test