Issue #2003568 by dawehner, jhedstrom: Convert tags,attributes, diff and url validation unit tests to phpunit.