Add missing tests for proper coverage of validation.
Merge pull request #416 from square/jw/emmmmmmmmmmmma

Add missing tests for proper coverage of validation.