Add test for issue #28 multiple stylesheets
Workaround php bug when removing DOMNodes while iterating over them.
Fixes #28