Added Database queries test
Updated Database queries test
Added Database queries