Add missing tests for proper coverage of validation.

@dnkoutso @edenman @loganj