added a test for the abstyracttypeextension fixed the case for the html
type and added more checks for option types