Refactor tests

* More test helpers.
* Rename test fixtures.
* Add tests for checking rules in media queries.
Add support for checking rules in media queries
0.1.2