Tests for repo.matchObject() (MID-1828)