Add a helper function to construct the full path to a test database