Fixes #833 by making sure item.matcher is defined when testing media helpers