Port 'html.builder' tests to py.test.