add test for function declaration inside `@media`