Added wrapflow test, in AMD format - fixes #786
Fixed a typo in `testMediaQuery()`