Add tests for HTML5 fields
Fix deprecated assert methods