If doctor did a rectal exam did he test my poop? It was really quick?

Depends. If it is routine rectal examination stool will not be tested, if needed yes stool will be tested.