Add a testcase for @viewport rule

Testcase that shows problem of #461