Added logic for checking database to test_07
Added logic for checking database to test_07

git-svn-id: c36fc656d29f06fca4500ebb6a8d6f432478a0b6@16796 4e558342-562e-0410-864c-e07659590f8c

efajardo/osg-test,efajardo/osg-test