handle (and test) more URL rewriting scenarios in CSS