If there was no act of anal penetration, risk can not be associated with this event. If you engage in unprotected intercourse with partners of unknown sero-status, it wouldn't be a bad idea to schedule routine STD test for your and the safety of the others. No risk from the described event, testing is not recommended.