use pytest fixtures for db tests