Added validation exception test