Added a working database test file.

Also Removed previous DB test file.