made database test case abstract
Merge branch 'bugfix/datbasetestcase' into develop