edited database, set connection to tests classes