Added Database tests