Do Animated Objects make Opportunity Attacks?

Do the objects animated by the Animate Objects spell make opportunity attacks?

While I believe animated objects are certainly capable of opportunity attacks, the wording “If you command an object to attack, it can make a single melee attack against a creature within 5 feet of it” makes me wonder whether additional opportunity attacks are also implicit with this command.