Add method testMediaQuery