test mediation of views