assign custom methods to custom element prototype
Use these tests sparingly, as they will need to be updated frequently as the code generation changes.