Connected to Database using test files