Changede the database, setup connection for new DB.

Created testcases for backend Test