Fix unit tests for media queries.