Update FormInputTest.php

Test for title attribute
Update FormInputTest.php

Added with check
Added title attribute
Merge pull request #4878 from tobre6/master

Form element title attribute test
[#4878] CS fixes

- Trailing whitespace
Merge branch 'hotfix/4878'

Close #4878