Jonathantneal test compatibility

This is PR #348, with some tweaks to ensure that the tests pass in non-`calc()` browsers. @jonathantneal, mind double-checking me?