Rewrote the database test code, another dbs account is used which has delete rights on the database.

The resouce files it draws its connection details from is added to
gitignore for safety