defaultValue of 0 now displayed

previously treated as empty string when passed to input text/textarea
tests for displaying `defaultValue` of 0
separate new tests into respective file
Merge pull request #258 from chenglou/patch-3

defaultValue of 0 now displayed