testing media detection