Added typeMismatch validation attribute.

![](http://media.giphy.com/media/lWoe8l9aHwS4/giphy.gif)

Added test for typeMismatch and one that was missing for tooShort.