Adding DB access tests