tests/content.cpp: define a test_parser helper and make the css::time parser specify parse mode (CSS or SMIL)