As someone who spends at least a month a year in Rome, I respectfully disagree with Americans/Canadians not knowing about Trastevere. The streets are full of them!
For a covid test look for a white tent outside of a pharmacy which is designated by a green cross. Go inside the pharmacy, pay for the test (€25) and have it done inside the tent. Most do not require appointments but a few do.